package com.docchatlink.dto.v2;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 文档列表返回
 *
 * @author ydwang16
 * @version 2023/09/06 14:11
 **/
@Getter
@Setter
public class FileListResp {

    private DataVo data;

    @Data
    public static class DataVo {

        private Integer total;

        private List<FileVO> rows;
    }

    @Data
    public static class FileVO {

        private String fileId;

        private String fileName;
        /**
         * 文件类型 wiki、qa
         */
        private String fileType;

        private String fileStatus;

        private String extName;

        private Integer quantity;
        /**
         * 文件过期状态
         * active-正常 expired-已过期
         */
        private String expirationStatus;

        private String createTime;

        private LocalDateTime expireTime;

        private String originPath;

        private String previewPath;
    }

}
